<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Login</title>
    <link href="<?php echo base_url().'styles/style_admin.css' ?>" type="text/css" rel="stylesheet"/>
    <script type="text/javascript">
    function checkLogin()
    {
    if(document.getElementById('name').value=='')
    {
    alert("Vui lòng nhập tên đăng nhập");
    return false;
    }

    if(document.getElementById('pass').value=='')
    {
    alert("Vui lòng nhập mật khẩu");
    return false;
    }

    return true;
    }
    </script>

    </head>

        <body>

    <div id="login_box_all" >

        <div id="login-box">

        <H2>Đăng nhập </H2>
    (Dành cho Administrator/ Moderator)
    <br />
        <br />
    <form id="form1" name="form1" method="post" action="" onsubmit="return checkLogin();">
        <div id="login-box-name-top">Tài khoản:</div>
    <div id="login-box-field" style="margin-top:20px;">
        <input name="txtUserName" type="text" id="name" class="form-login" title="Username" value="" size="30" maxlength="2048" /></div>
    <div id="login-box-name">Mật khẩu:</div>
    <div id="login-box-field"><input name="txtPassword" type="password" id="pass" class="form-login" title="Password" value="" size="30" maxlength="2048" /></div>
        <br />
    <span class="login-box-options">
        <input type="checkbox" name="chkRemember" value=""> Ghi nhớ <a href="#" style="margin-left:30px;">Quên mật khẩu?</a></span>
        <br />
        <br />
    <input name="submit" type="submit"  value="" id="submit_img"/>
        <img src="../../../../images/login-box-backg.png" alt=""/>
        </form>
    </div>

    </div>

</body>
</html>
